package com.ruyuan.eshop.buyer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

/**
 * swagger ui: http://localhost:7002/swagger-ui.html
 * @author pwd
 * @version 1.0
 */
@SpringBootApplication
@MapperScan(basePackages = "com.ruyuan.eshop.common.mapper")
@ComponentScan(basePackages = {"com.ruyuan.eshop"},
        excludeFilters  = @ComponentScan.Filter(type = FilterType.ASPECTJ, pattern="com.ruyuan.eshop.common.mapper.*"))
public class BuyerApplication {

    public static void main(String[] args) {
        SpringApplication.run(BuyerApplication.class, args);
    }

}
